Skip to content

Conversation

@mergify
Copy link

@mergify mergify bot commented Oct 17, 2025

This pull request fixes small unrelated issues with the testsuites that cause local or CI failures.


This is an automatic backport of pull request #14742 done by Mergify.

…d modules

[Why]
rabbit_access_control checks that the auth backend module is provided by
`rabbit` or an enabled plugin. Some testsuites use a local auth backend
module for tests purpose that do not come as a plugin. We need a
mechanism to allow that.

[How]
We introduce a new `test_auth_backends` application envoironment
variable that testsuites can used to declare their valid auth backend
modules.

(cherry picked from commit 574ded4)
[Why]
rabbit_access_control now ensures all configured auth backend modules
are provided by `rabbit` or an enabled plugin. This is not the case for
this testsuite's own auth backend.

[How]
Declare `rabbit_auth_backend_mqtt_mock` as a test auth backend module.

(cherry picked from commit 1515968)
[Why]
It didn't handle them before and crashed later when it assumed the
return value was a list.

(cherry picked from commit eab6573)
…ch()`

[Why]
Hopefully, this fixes some test flakes in CI.

(cherry picked from commit 274ef7d)
@dumbbell dumbbell merged commit e895d78 into v4.2.x Oct 17, 2025
291 checks passed
@dumbbell dumbbell deleted the mergify/bp/v4.2.x/pr-14742 branch October 17, 2025 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants